﻿SeadragonJSImageLoader = function() {
    /// <summary>Creates an ImageLoader with all slots empty.</summary>
    /// <returns type="Object"></returns>
}

SeadragonJSImageLoader.prototype =
{
    loadImage: function(src, callback) {
        /// <summary>If no image download slots are available, returns false immediately. Otherwise queues an asynchronous download of the image at the given URL and returns true. Once the download is complete, the given callback function is called with the image as the sole argument if the download succeeded, or null if the download failed.</summary>
        /// <param name="src">url of the image to download</param>
        /// <param name="callback">Once the download is complete, the given callback function is called with the image as the sole argument if the download succeeded, or null if the download failed.</param>
        /// <returns type="Boolean"></returns>        
    }
}
